home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950929-19951130
/
000288_news@columbia.edu_Fri Nov 3 18:17:20 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-12-25
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA16341
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 3 Nov 1995 13:17:37 -0500
Received: by apakabar.cc.columbia.edu id AA27328
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 3 Nov 1995 13:17:33 -0500
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: MS-kermit and APC codes (LONG)
Date: 3 Nov 1995 18:17:20 GMT
Organization: Columbia University
Lines: 39
Message-Id: <47dmbg$qlt@apakabar.cc.columbia.edu>
References: <478v23$1s8@ftcnews.nrcs.usda.gov>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <478v23$1s8@ftcnews.nrcs.usda.gov>,
Ute R. Willmore <ute@feinde2.ftc.nrcs.usda.gov> wrote:
>...
>Anyway, now I am trying to determine if a file exists on the my DOS system,
>and if so send that file to the UNIX system, otherwise, I want to give some
>indication of the error to UNIX, to prevent C-Kermit from getting started.
>
Wouldn't it be easier to just have C-Kermit try to GET the file from an
MS-DOS Kermit server, and if it fails, that means it wasn't there?
[...as opposed to transferring a script file, then executing it...]
>This works okay. Since I send something for sure, C-Kermit doesn't hang, and
>once I have the file on my UNIX system I can figure out if it is data or my
>script. It's ugly and but there are some problems.
>
>1) I can't delete my_script, i.e. putting 'run del my_script' inside the
> script has no effect. How come?
>
Because it's open?
>2) I would prefer to just send some error return (rather than my_script)
> if the data file doesn't exist. I tried using 'output ERROR' in the second
> if but it doesn't arrive on my UNIX system. Am I missing something?
>
If you used the method suggested at the top, the GET command would return
an error code. In your "output" command, you probably need to stick \13
onto the end.
...
>4) Is there a GOOD source on using APC codes and MS-Kermit? I have read most
> of Using MS-Kermit and Using C-Kermit, but neither one mentions them. The
> .bwr files mention them but not in detail.
>
The KERMIT.UPD file that comes with MS-DOS Kermit 3.14, and the ckcker.upd
file that comes with C-Kermit 5A(190).
Hope this helps.
- Frank